package com.xqboss.apps.domain.synthesis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 持图材料配置表
 * </p>
 *
 * @author 木鱼
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SynthesisHoldCondition对象", description="持图配置-材料")
public class SynthesisHoldCondition implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "合成活动id")
    private Long synthesisId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "材料类型1 藏品，2 装备，3 宝盒，4 豆子")
    private Integer materialType;

    @ApiModelProperty(value = "关联id")
    private Long thirdId;

    @ApiModelProperty(value = "所需数量")
    private Integer num;

    @ApiModelProperty(value = "最小耐久值")
    private BigDecimal minDurable;

    @ApiModelProperty(value = "最大耐久值")
    private BigDecimal maxDurable;

    @ApiModelProperty(value = "最小破损值")
    private BigDecimal minBreakage;

    @ApiModelProperty(value = "最大破损值")
    private BigDecimal maxBreakage;

    @ApiModelProperty(value = "最小等级值")
    private Integer minLevel;

    @ApiModelProperty(value = "最大等级值")
    private Integer maxLevel;

}
